/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.polymorphism.services.internal;

import za.ac.cput.polymorphism.model.PartTimeEmployee;
import za.ac.cput.polymorphism.services.Employee;

/**
 *
 * @author Abduraghmaan
 */
public class OrganisationalEmployee implements Employee{
    
    @Override
    public double calcIncrease(PartTimeEmployee emp) {
        double salaryIncrease;
                
                salaryIncrease = ( emp.getSalary()* 0.10) + emp.getSalary();
                
                return salaryIncrease;
         
    }

    
    
}
